package com.yjm.test.Spring5.ch5.controlFlow;

import java.lang.reflect.Method;

import org.springframework.aop.MethodBeforeAdvice;

public class SimpleBeforeAdvice implements MethodBeforeAdvice {

	@Override
	public void before(Method method, Object[] args, Object target) throws Throwable {
		System.out.println("Before method: " + method +" args: " + args.toString() + " target: " + target.toString());
	}

}
